﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DLL.Training
{
	/// <summary>
	/// 查询类
	/// </summary>
	/// <![CDATA[2014-8-24 14:06:29]]>
	public class QueryEntity : QueryBase
	{
		#region 查询条件属性

		/// <summary>
		/// 培训班名称
		/// </summary>
		public string strName;

		/// <summary>
		/// 组织单位ID
		/// </summary>
		//public int nDepartmentID;

		/// <summary>
		/// 培训教师
		/// </summary>
		public string strTeachers;

		/// <summary>
		/// 记录添加账号ID
		/// </summary>
		//public int nUserID;
		/// <summary>
		/// 培训班处在的状态
		/// </summary>
		public int nState;
		/// <summary>
		/// 多个状态
		/// </summary>
		public string strStates;
		/// <summary>
		/// 培训班开始日期
		/// </summary>
		public string strStartDate;
		/// <summary>
		/// 培训班结束日期
		/// </summary>
		public string strEndDate;
		/// <summary>
		/// 培训班开始日期
		/// </summary>
		public string strQueryStartDate;
		/// <summary>
		/// 培训班结束日期
		/// </summary>
		public string strQueryEndDate;
		/// <summary>
		/// 培训班类型（线上培训还是线下培训）
		/// </summary>
		public int nType;
		/// <summary>
		/// 培训类型
		/// </summary>
		public int nSort;
		#endregion 查询条件属性

		#region 构造函数
		/// <summary>
		/// 查询类构造函数
		/// </summary>
		/// <![CDATA[2014-8-24 14:06:29]]>
		public QueryEntity()
			: base()
		{
			nUserID = nAll;
			nState = nAll;
			strStates = strAll;
			strStartDate = strAll;
			strEndDate = strAll;
			strQueryStartDate = strAll;
			strQueryEndDate = strAll;
			nType = nAll;
			nSort = nAll;
			strName = strAll;
			nDepartmentID = nAll;
			strTeachers = strAll;
		}
		#endregion 构造函数
	}
}
